package com.apes.fn.server.servicePlan.service;

import com.apes.framework.jpa.Model;
import com.apes.framework.plugin.esb.api.SimpleRequest;

import java.util.List;
import java.util.Map;

/**
 * @program: apes-server
 * @description 方案建造者抽象类
 * @author: czs
 * @create: 2022-05-08 09:38
 **/
public interface PlanBuilder {

    //创建主表信息
    PlanBuilder buildBody();

    //添加明细
    PlanBuilder buildItems();

    //获取当前人信息
    void setUserInfo(SimpleRequest request);

    //扭转状态
    PlanBuilder changeState();

    Model buildPlan();
}
